<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('blockUserList')}">已封角色列表</a></li>
        <!-- <li><a href="{:url('Operate/blockUserLog')}">封号记录</a></li> -->
    </ul>
    <form class="search_form" method="get" action="{:url('blockUserList')}">
        <div class="well form-inline margin-top-20">
            角色名：
            <input type="text" class="form-control selector" name="nickname" style="width:150px;" value="{:input('request.nickname/s','')}" data-action="selectName" data-url="{:url('/admin/Ajax/getPlayerInfo')}" placeholder="输入玩家ID或角色名查询">
            帐号：
            <input type="text" class="form-control" name="accname" style="width: 150px;" value="{:input('request.accname/s','')}" placeholder="输入玩家登录帐号">
            <input type="submit" class="btn btn-primary" value="搜索" />
        </div>
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th style="text-align: center">玩家ID</th>
                <!-- <th style="text-align: center">角色名</th> -->
                <!-- <th style="text-align: center">帐号</th> -->
                 <th style="text-align: center;">操作类型</th>
                 <th style="text-align: center;">原因</th>
                <th style="text-align: center;"> 操作用户  </th>
                <th style="text-align: center;"> 操作时间  </th>
                
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
                <tr>
                    <td style="text-align: center"><a href="{:url('PlayerManage/playerInfo',array('role_id' => $vo['player_id']))}" target="_self">{$vo.player_id}</a></td>
                    

                    <td style="text-align: center">
                        <switch name="vo.ban_type" default="1">
                            <case value="1">禁言</case>
                            <case value="2">后台解封</case>
                            <case value="3">封号</case>
                            <case value="4">后台解封</case>
                        </switch>
                    </td>
                    <td style="text-align: center">{$vo.reason|default=""}</td>
                    <td style="text-align: center">{$vo.operator|default=""}</td>
                    <td style="text-align: center;">{$vo.created_at|default=""}   </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js?v=4"></script>
</body>
</html>